package com.ssy.lingxi.contract.api.feign;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.contract.api.model.vo.request.PurchaseInquiryAddVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.validation.Valid;
import java.util.List;

/**
 * 采购询价合同内部接口定义
 * @author 伍将
 * @date 2021/3/4
 * @version 2.0.0
 */
@FeignClient(name = "contract-service")
public interface PurchaseInquiryControllerFeign {

    /**
     * 批量新增采购询价合同
     * @author 伍将
     * @date 2021/3/4
     **/
    @RequestMapping("/contract/feign/purchase/inquiry/addList")
    Wrapper<Void> addList(@RequestBody @Valid List<PurchaseInquiryAddVO> addVOList);
}
